package com.edol.painting.main;

import com.edol.painting.utils.Constant;
import com.edol.painting.utils.PainterUtils;

/**
 * Created by Administrator on 2017/7/4.
 */

public class PaintEditConfig {
    public static final int[] sBrushMinWidth = new int[] {
            PainterUtils.convertDimen(Constant.BRUSH_ERASER_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_PEN_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_PENCIL_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_MARKER_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_WATERCOLOR_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_SOFT_CHARCOAL_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_CHALK_MIN_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_SOFT_ERASRE_MIN_WIDTH),
    };

    public static final int[] sBrushMaxWidth = new int[] {
            PainterUtils.convertDimen(Constant.BRUSH_ERASER_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_PEN_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_PENCIL_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_MARKER_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.PAINTING_HEIGHT > 1920 ? Constant.BRUSH_WATERCOLOR_1440P_MAX_WIDTH : Constant.BRUSH_WATERCOLOR_1080P_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_SOFT_CHARCOAL_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_CHALK_MAX_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_SOFT_ERASRE_MAX_WIDTH),
    };

    public static final int[] sBrushMinAlpha = new int[] {
            Constant.BRUSH_ERASER_MIN_ALPHA,
            Constant.BRUSH_PEN_MIN_ALPHA,
            Constant.BRUSH_PENCIL_MIN_ALPHA,
            Constant.BRUSH_MARKER_MIN_ALPHA,
            Constant.BRUSH_WATERCOLOR_MIN_ALPHA,
            Constant.BRUSH_SOFT_CHARCOAL_MIN_ALPHA,
            Constant.BRUSH_CHALK_MIN_ALPHA,
            Constant.BRUSH_SOFT_ERASRE_MIN_ALPHA,
    };

    public static final int[] sBrushMaxAlpha = new int[] {
            Constant.BRUSH_ERASER_MAX_ALPHA,
            Constant.BRUSH_PEN_MAX_ALPHA,
            Constant.BRUSH_PENCIL_MAX_ALPHA,
            Constant.BRUSH_MARKER_MAX_ALPHA,
            Constant.BRUSH_WATERCOLOR_MAX_ALPHA,
            Constant.BRUSH_SOFT_CHARCOAL_MAX_ALPHA,
            Constant.BRUSH_CHALK_MAX_ALPHA,
            Constant.BRUSH_SOFT_ERASRE_MAX_ALPHA,
    };

    public static final int[] sBrushDefaultWidth = new int[] {
            PainterUtils.convertDimen(Constant.BRUSH_ERASER_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_PEN_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_PENCIL_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_MARKER_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_WATERCOLOR_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_SOFT_CHARCOAL_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_CHALK_DEFAULT_WIDTH),
            PainterUtils.convertDimen(Constant.BRUSH_SOFT_ERASRE_DEFAULT_WIDTH),
    };

    public static final int[] sBrushDefaultAlpha = new int[] {
            Constant.BRUSH_ERASER_DEFAULT_ALPHA,
            Constant.BRUSH_PEN_DEFAULT_ALPHA,
            Constant.BRUSH_PENCEL_DEFAULT_ALPHA,
            Constant.BRUSH_MARKER_DEFAULT_ALPHA,
            Constant.BRUSH_WATERCOLOR_DEFAULT_ALPHA,
            Constant.BRUSH_SOFT_ERASRE_DEFAULT_ALPHA,
            Constant.BRUSH_CHALK_DEFAULT_ALPHA,
            Constant.BRUSH_SOFT_CHARCOAL_DEFAULT_ALPHA,
    };

    public static final int[] sBrushTextureAlpha = new int[] {
            Constant.BRUSH_TEXTURE_MIN_ALPHA,
            Constant.BRUSH_TEXTRUE_MAX_ALPHA
    };

}
